/*
 * @Author: null
 * @Date: null
 * @description: null
 const  api = {
    // 添加角色
    'addRole': {url: '/roleEntity/roles', method: 'post'},
    // 获取角色列表
    'rolePage': {url: '/roleEntity/roles', method: 'get'},
    // 修改角色
    'updateRole': {url: '/roleEntity/roles', method: 'put'},
    // 修改语言环境
    'login': {url: '/sys/langChange', method: 'put'},
    // 获取菜单红点
    'menuReminds': {url: '/sys/menuReminds', method: 'get'},
    // 删除流程配置
    'delProcessEntity': {url: '/sysProcessEntity/{processId}', method: 'delete'},
    // 重置密码
    'resetPwd': {url: '/userEntity/resetPwd', method: 'put'},
    // 根据角色 Id 获取角色下的所有用户
    'roleUsers': {url: '/roleEntity/roles/users/{id}', method: 'get'},
    // 添加用户
    'addUser': {url: '/userEntity/users', method: 'post'},
    // 获取用户列表
    'userPage': {url: '/userEntity/users', method: 'get'},
    // 修改用户
    'updateUser': {url: '/userEntity/users', method: 'put'},
    // 启用/禁用用户
    'changeEnable': {url: '/userEntity/users/{id}/{status}', method: 'put'},
    // 获取地区
    'regions': {url: '/sys/regions', method: 'get'},
    // 修改个人资料
    'updateProfile': {url: '/userEntity/updateProfile', method: 'put'},
    // 获取数据权限
    'dataPower': {url: '/userEntity/users/dataPower', method: 'get'},
    // 修改数据权限
    'updateDataPower': {url: '/userEntity/users/dataPower', method: 'put'},
    // 修改密码
    'updatePassWord': {url: '/userEntity/updatePassWord', method: 'put'},
    // 校验密码
    'checkPassWord': {url: '/userEntity/checkPassWord', method: 'post'},
    // 保存流程配置
    'saveProcessEntity': {url: '/sysProcessEntity', method: 'post'},
    // 查询流程配置
    'getProcessEntityList': {url: '/sysProcessEntity', method: 'get'},
    // 删除用户关联角色
    'deleteUserRole': {url: '/userEntity/users/deleteUserRole', method: 'put'},
    // 获取用户
    'getUser': {url: '/userEntity/users/{id}', method: 'get'},
    // 删除用户
    'deleteUser': {url: '/userEntity/users/{id}', method: 'delete'},
    // 红点标记为已读
    'readRemind': {url: '/sys/readRemind', method: 'put'},
    // 添加红点
    'addReminds': {url: '/sys/addReminds', method: 'post'},
    // 查看角色详情
    'detailRole': {url: '/roleEntity/roles/{id}', method: 'get'},
    // 删除角色
    'deleteRole': {url: '/roleEntity/roles/{id}', method: 'delete'},
    // 启用禁用角色
    'enableRole': {url: '/roleEntity/roles/{id}', method: 'put'},
    // 下拉菜单
    'pullList': {url: '/roleEntity/pullList', method: 'get'},
    // 查询流程配置详情
    'getProcessById': {url: '/sysProcessEntity/{id}', method: 'get'},
    // 查询是否有权限发起审批
    'hasPowerCreateApproval': {url: '/sys/hasPowerCreateApproval', method: 'get'},
    // 刷新字典等数据
    'refreshData': {url: '/sys/refreshData', method: 'get'},
    // 根据角色 Id 和菜单 id 获取子菜单的权限,如果是添加则 roleId 传-1
    'menusByRoleIdAndMenuId': {url: '/roleEntity/roles/{roleId}/{menuId}}', method: 'get'},
    // 获取详情页红点
    'detailRemind': {url: '/sys/detailRemind', method: 'get'},
    // 根据部门查询角色
    'getRolesByDeptId': {url: '/roleEntity/roles/dept/{deptId}', method: 'get'}

};
 export default api;
